package cn.jbolt.ndemo.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

@TableName("ja_demo_complaint_push")
public class ComplaintPush implements Serializable{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(name = "title", description = "标题")
    @TableField("title")
    private String title;

    @Schema(name = "content", description = "内容")
    @TableField("content")
    private String content;

    @Schema(name = "userName", description = "投诉人名称")
    @TableField("user_name")
    private String userName;

    @Schema(name = "sn", description = "sn")
    @TableField("sn")
    private String sn;

    @Schema(name = "status", description = "处理状态")
    @TableField("status")
    private String status;

    @Schema(name = "deptId", description = "部门ID")
    @TableField("dept_id")
    private Long deptId;


    @Schema(name = "userPhone", description = "投诉人电话")
    @TableField("user_phone")
    private String userPhone;



    @Schema(name = "createTime", description = "创建时间")
    @JsonFormat(locale = "zh", pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }
}


